package QQ;

import java.util.Scanner;

public class QQTest {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        QQ up = new QQ();
        System.out.println("请输入QQ号：");
        up.qqnum = input.next();
        System.out.println("请输入QQ昵称：");
        up.qname = input.next();
        System.out.println("请输入在线时常：");
        int time = input.nextInt();
        up.show();
        System.out.println("在线时常为："+time);
        up.Grade(time);

    }
}
